import Vuex from 'vuex'

export default Vuex.createStore({
    state:{
        name:'游客'
    },
    mutations:{
        setName(state,newName){
            state.name = newName
        }
    },
    actions:{

    }
})